package day38.edu;
// Created: 08/10/2025, ChangJiang Ru
public class Order <T>{
    T t;
    int orderId;
    String name;

    public Order() {
    }

    public Order(int orderId, String name) {
        this.orderId = orderId;
        this.name = name;
    }

    public Order(T t, int orderId, String name) {
        this.t = t;
        this.orderId = orderId;
        this.name = name;
    }

    public T getT() {
        return t;
    }

    public void setT(T t) {
        this.t = t;
    }

    public int getOrderIt() {
        return orderId;
    }

    public void setOrderIt(int orderIt) {
        this.orderId = orderIt;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
